const fs = require('fs');
const path = require('path');

// 检查文件是否存在
const filePath = path.join(__dirname, '..', 'myMoney.xls');
console.log('Checking file:', filePath);

if (fs.existsSync(filePath)) {
  const stats = fs.statSync(filePath);
  console.log('File exists');
  console.log('File size:', stats.size, 'bytes');
  console.log('File size:', (stats.size / 1024 / 1024).toFixed(2), 'MB');
} else {
  console.log('File does not exist');
}